home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Macromedia Multimedia Showcase 6.0
/
Macromedia Multimedia Showcase v6.0 WIN-MAC (XMSH60CD)(Macromedia, Inc.)(1996).iso
/
pc
/
demosoft
/
freehand
/
data.5
/
App
/
Usenglsh
/
lang8.dll
/
POST
/
1149
< prev
next >
Wrap
Text File
|
1996-10-03
|
2KB
|
127 lines
userdict begin /texturedict 50 dict def end
texturedict begin
/scalefactor .24 def
/angarray [0 90 180 270] def
/imagesize 72 def
/scaledsize
{
imagesize scalefactor mul
} def
/angget
{
angarray aryindex get
} def
/xtransget
{
xtrans aryindex get
} def
/ytransget
{
ytrans aryindex get
} def
/imageloop
{
0 scaledsize dy
{
/ycur exch def
0 scaledsize dx
{
/xcur exch def
gsave
xcur ycur translate
/aryindex rand2 def
angget rotate
xtransget ytransget translate
imagesize imagesize scale
0 0 moveto
(a) show
grestore
} for
} for
} def
end
/invbuf{
0 1
2 index length 1 sub
{
dup
2 index exch
get
255 xor
2 index
3 1 roll put
}
for
}bdf
/settexturepattern
{
texturedict fhtexturepattern get
invflag
{
dup length /str2 exch string def str2 copy invbuf
} if
/fhtexturepattern xdf
} bdf
/texture {
gsave
[0 0 0 0] vc
filler
grestore
supdict begin
/txsave save def
newinside
vc
texturedict begin
/fhtexturepattern xdf
/invflag false def
fhtexturepattern (burlap) eq
{/imagesize 144 def}{/imagesize 72 def} ifelse
fhtexturepattern (light-mezzo) eq {/invflag true def} if
fhtexturepattern (light-mezzo) eq fhtexturepattern (heavy-mezzo) eq or
{/fhtexturepattern (mezzo) def} if
9 dict begin
/FontType 3 def
/FontMatrix [1 imagesize div 0 0 1 imagesize div 0 0] def
/FontBBox [0 0 imagesize imagesize] def
/PaintType 3 def
/Encoding 256 array def
0 1 255 {Encoding exch /.notdef put} bind for
Encoding 97 /thetile put
/CharProcs 2 dict def
CharProcs begin
/.notdef {} def
/thetile {
imagesize imagesize true
[imagesize 0 0 imagesize 0 0]
{fhtexturepattern} systemdict begin imagemask end
} def
end
/BuildChar {
imagesize 0
0 0 imagesize imagesize
setcachedevice
exch begin
Encoding exch get
CharProcs exch get
end
exec
} bdf
currentdict
end
/TextureFont exch definefont pop
/xtrans [0 0 scaledsize neg scaledsize neg] def
/ytrans [0 scaledsize neg scaledsize neg 0] def
/TextureFont findfont scaledsize scalefont setfont
fhtexturepattern (burlap) eq fhtexturepattern (denim) eq or
{
fhtexturepattern (burlap) eq
{settexturepattern burlapimageloop}
{settexturepattern denimimageloop}
ifelse
}
{settexturepattern imageloop} ifelse
txsave restore
end
end
} def